/*
 * @Author: xuesong
 * @Date: 2022-04-12 20:06:02
 * @LastEditors: xuesong
 * @LastEditTime: 2022-04-14 12:31:47
 * @FilePath: \BaFangYun_BLE_V1.3.2\projects\ble_peripheral\uart_ble\src\heap\heap_4.h
 */




#ifndef _HEAP4_H_
#define _HEAP4_H_

#ifdef __cplusplus
extern "C"
{
#endif
#include <stdlib.h>
#include "types.h"
// #include "IncludeAll.h"

#define configTOTAL_HEAP_SIZE (2*1024)
#define portBYTE_ALIGNMENT (8)
#define portBYTE_ALIGNMENT_MASK (0x0007)
#define heapMINIMUM_BLOCK_SIZE	( ( size_t ) ( xHeapStructSize << 1 ) )



void   vPortFree(void* pv);
void*  pvPortMalloc(size_t xWantedSize);

size_t xPortGetFreeHeapSize(void);
size_t xPortGetMinimumEverFreeHeapSize(void);


#ifdef __cplusplus
}
#endif

#endif /* endif */

















